package com.framework.dao.YHBDao.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.yhbEntity.user.YhbUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface YhbUserDao extends BaseMapper<YhbUser> {


   List< Map<String, Object>> queryOwnerBySn(@Param("userId") String userId);

   void reduceAmount(@Param("userId") String userId, @Param("takeAmount") String takeAmount);

    List<Map<String, Object>> queryUserList(Map<String, Object> params);

    Integer queryUserCount(Map<String, Object> params);


}
